package cn.itsource.system.mapper;


import cn.itsource.system.domain.Menu;
import cn.itsource.system.query.MenuQuery;

import java.util.List;

public interface MenuMapper {
     List<Menu> findAll();

     Menu findOne(Long id);

     void add(Menu menu);

     void update(Menu menu);

     void delete(Long id);

     //批量删除
     void patchdel(Long[] ids);

     Integer queryCount(MenuQuery menuQuery);
     List<Menu> queryData(MenuQuery menuQuery);
}
